package com.ruoyi.blog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MajorController {

    private static final String prefix = "adultexam";

    /**
     * 专业
     *
     * @param model
     * @return
     */
    @GetMapping({"/major"})
    public String major(Model model ) {
        model.addAttribute("blockType","major");

        return prefix + "/major";
    }
}
